package com.fhs.demo.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Mybatis 配置
 *
 * @author cloud
 * @date 2021/6/3
 */
@Data
@ConfigurationProperties(prefix = "fancy.mybatis")
@Component
@Getter
@Setter
public class FancyMybatisProperties {

	/**
	 * 是否打印可执行 sql
	 */
	private boolean showSql = true;

}
